]> dgit.raspbian.org Git - gnome-shell.git/commit
Remove st_container_remove_all & rewrite st_container_destroy_children
authorMaxim Ermilov <zaspire@rambler.ru>
Mon, 31 Jan 2011 23:25:35 +0000 (02:25 +0300)
committerMaxim Ermilov <zaspire@rambler.ru>
Tue, 1 Feb 2011 20:41:21 +0000 (23:41 +0300)
commite3acaa05be3a3ddd21ccd0bcdc0d593e8a8bd1ce
tree5c7b2515beb3a34a192b6e9239e58bb557913725
parent91d8a32f25a3b46903f9a0cf3bed8ef04043ae79
Remove st_container_remove_all & rewrite st_container_destroy_children

1. Both functions leaked the nodes in priv->children
2. st_container_remove_all wasn't properly updating first_child and last_child
3. remove_all() is almost never right since it won't cause signal handlers
   on the children to be removed. In the rare cases where it might be needed
   the caller can simply use clutter_container_remove().
https://bugzilla.gnome.org/show_bug.cgi?id=640781
js/ui/dash.js
js/ui/endSessionDialog.js
js/ui/modalDialog.js
js/ui/workspacesView.js
src/st/st-container.c
src/st/st-container.h